<?php
namespace app\admin\controller;

use app\Controller;


class Index extends Controller
{
    public function index()
    {
        return '后端首页';
        return $this->view->fetch('index');
    }

    public function test1()
    {
//        return $this->view->fetch('test1');
        return view();
    }

    public function jsonTest()
    {
        $a  = [
            'name' => 'wubuze',
            'sex' => 1,
        ];
        return statusResponse('success', '', $a);
    }
}
